<template>
  <div class="creatorlist">
      <div class="none">
          <img src="../assets/001.jpg" alt="">
            <span>没有搜索到创作人</span>
      </div>
  </div>
</template>

<script>
export default {
props: ["SearchValue"],
  data: function () {
    return {
      creatorlist: [],
    };
  },
  created: function () {
    this.axios
      .get("https://apis.netstart.cn/xpc/search?type=creator&kw=" + this.SearchValue)
      .then((res) => {
        this.creatorlist = res.data.data;
      });
  },
}
</script>

<style lang="less" scoped>
.creatorlist{
    .none{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    span{
      color: gray;
    }
  }
}

</style>